package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityXfAccountType;

import java.util.List;

//账户类型
public interface XfAccountTypeService extends IService<EntityXfAccountType> {

    // 获取账号类型信息(getXFAccountType)
    public List<EntityXfAccountType> GetXFAccountType(Long comId,Integer grouping);

    public EntityXfAccountType getXFAccountType(Long comId, Integer accTypeId);

    // 新增账号类型信息(addXFAccountType)
    public Integer AddXFAccountType(Long comId, EntityXfAccountType entityXfAccountType);

    // 修改账号类型信息(updateXFAccountType)
    public Integer UpdateXFAccountType(Long comId, EntityXfAccountType entityXfAccountType);

    // 删除账号类型信息(deleteXFAccountType)
    public EntityXfAccountType GetXFAccountTypeDetails(Long comId, Integer accTypeId);


    List<EntityXfAccountType> selectAccTypeName(Long comId, EntityXfAccountType entityXfAccountType);

    EntityXfAccountType selectAccTypeNameNull(Long comId, EntityXfAccountType entityXfAccountType);

    List<EntityXfAccountType> selectXfAccountTypeList(Long comId);
}
